package com.eqdd.yiqidian.ui.yiqigou

import android.view.View
import com.eqdd.yiqidian.R
import com.eqdd.yiqidian.base.BaseActivity
import kotlinx.android.synthetic.main.activity_shopping_main.*
import org.jetbrains.anko.sdk25.coroutines.onClick
import org.jetbrains.anko.startActivity

/**
 * Created by jhj on 18-8-18.
 */
class ShoppingMainActivity : BaseActivity() {

    override fun initBinding() {
        setContentView(R.layout.activity_shopping_main)
        initTopTitleBar(View.VISIBLE, "易企购")
    }

    override fun initData() {

    }

    override fun setView() {
        tv_search_product.onClick {
            startActivity<ProductSearchActivity>()
        }

        tv_search_request.onClick {
            startActivity<RequestSearchActivity>()
        }
    }
}